<?php

namespace Applications\Backoffice\Modules\Content;

class ContentController extends \Library\BackController {
    public function executeIndex(\Library\HTTPRequest $request) {
        $this->page->addVar('title', 'Dashboard');
            $manager = $this->managers->getManagerOf('Channels');
            $listeContent = $manager->getList();
            foreach ($listeContent as $Content) {
                //rien pour le moment
            }
            // On ajoute la variable $listeGroups à la vue
            $this->page->addVar('listeContent', $listeContent);
    }
    
    public function executeAddMedia(\Library\HTTPRequest $request) {
        $this->page->addVar('title', 'Dashboard');
    }

}

?>
